<template>
  <div id="app">
    <NavBar></NavBar>
    <MenuBar></MenuBar>
    <transition name="fade" mode="out-in">
      <router-view name="contant"></router-view>
    </transition>
  </div>
</template>

<script>
import css from './assets/css/reset.css';
import NavBar from '@/components/NavBar'
import MenuBar from '@/components/MenuBar'
export default {
  name: 'App',
  components:{
    NavBar:NavBar,
    MenuBar:MenuBar
  }
}
</script>


<style>
  .fade-enter {
    opacity: 0;
  }

  .fade-enter-active {
    transition: opacity .5s;
  }

  .fade-leave {
    opacity: 1;
  }

  .fade-leave-active {
    opacity: 0;
    transition: opacity .5s;
  }
</style>
